package cn.fsd.mapper;

import cn.fsd.domain.Purchase_bill;
import cn.fsd.domain.Suppliers;
import cn.fsd.query.delivery.PurchaseBillQuery;
import cn.fsd.query.delivery.SupplierQuery;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SuppliersMapper {

  int deleteByPrimaryKey(String supplier_id);

  int insert(Suppliers record);

  Suppliers selectByPrimaryKey(String supplier_id);

  List<Suppliers> selectAll();

  List<Suppliers> getSupplierByPage(SupplierQuery query);

  int updateByPrimaryKey(Suppliers record);

  Suppliers getSupplierByName(String name);

  List<Suppliers> getSuppliersByName(String name);

}